package com.xja.service;

import com.xja.bean.Street;

import java.util.List;

/**
@author 李岩
@date 2021/12/23-10:32
@describe
*/
public interface StreetService{


    int deleteByPrimaryKey(Integer id);

    int insert(Street record);

    int insertSelective(Street record);

    Street selectByPrimaryKey(Integer id);
    //查询全部街道
    List<Street> findAllStreet();

    int updateByPrimaryKeySelective(Street record);

    int updateByPrimaryKey(Street record);

    //查询所有的街道
    List<Street> selectAllStreet() throws Exception;
}
